<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class UpdateFixfxs extends FormRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'name' => 'required',
            'tel' => 'required|min:11|max:11',
            'store_id' => 'required',
            'image' => 'required',
            'is_use' => 'required',
            'tag' => 'required|between:1,4',
            'number' => 'required',
            'sign' => 'required|between:5,30',
            'abouta' => 'max:15',
            'aboutb' => 'max:15',
            'aboutc' => 'max:15',
            'aboutd' => 'max:15',


        ];
    }
}
